.class public Lcom/xingbook/xingbook/activity/XingBookMainActivity;
.super Lcom/xingbook/park/activity/BaseActivity;

# interfaces
.implements Lcom/xingbook/service/download/f;


# instance fields
.field protected a:Lcom/xingbook/park/c/a/d;

.field protected b:Lcom/xingbook/park/c/a/x;

.field c:Lcom/xingbook/xingbook/d/l;

.field private d:Landroid/widget/RelativeLayout;

.field private e:Landroid/widget/LinearLayout;

.field private f:Lcom/xingbook/park/c/a/k;

.field private g:Landroid/widget/ListView;

.field private h:Lcom/xingbook/park/ui/p;

.field private i:Lcom/xingbook/park/ui/f;

.field private l:Lcom/xingbook/park/a/a;

.field private m:Lcom/xingbook/park/a/c;

.field private n:Lcom/xingbook/park/a/a;

.field private o:Lcom/xingbook/park/b/a;

.field private p:Lcom/xingbook/park/b/d;

.field private q:Ljava/util/ArrayList;

.field private r:Ljava/util/ArrayList;

.field private s:Ljava/util/ArrayList;

.field private t:Lcom/xingbook/park/b/d;

.field private u:Lcom/xingbook/park/c/a/f;

.field private v:Lcom/xingbook/park/ui/r;

.field private w:Lcom/xingbook/xingbook/c/d;

.field private x:Landroid/app/ProgressDialog;

.field private y:Z

.field private z:Lcom/xingbook/xingbook/activity/x;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/xingbook/park/activity/BaseActivity;-><init>()V

    new-instance v0, Lcom/xingbook/xingbook/activity/l;

    invoke-direct {v0, p0}, Lcom/xingbook/xingbook/activity/l;-><init>(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)V

    iput-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->u:Lcom/xingbook/park/c/a/f;

    new-instance v0, Lcom/xingbook/xingbook/activity/p;

    invoke-direct {v0, p0}, Lcom/xingbook/xingbook/activity/p;-><init>(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)V

    iput-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->v:Lcom/xingbook/park/ui/r;

    new-instance v0, Lcom/xingbook/xingbook/activity/q;

    invoke-direct {v0, p0}, Lcom/xingbook/xingbook/activity/q;-><init>(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)V

    iput-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->b:Lcom/xingbook/park/c/a/x;

    new-instance v0, Lcom/xingbook/xingbook/activity/r;

    invoke-direct {v0, p0}, Lcom/xingbook/xingbook/activity/r;-><init>(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)V

    iput-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->c:Lcom/xingbook/xingbook/d/l;

    new-instance v0, Lcom/xingbook/xingbook/activity/s;

    invoke-direct {v0, p0}, Lcom/xingbook/xingbook/activity/s;-><init>(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)V

    iput-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->w:Lcom/xingbook/xingbook/c/d;

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->y:Z

    new-instance v0, Lcom/xingbook/xingbook/activity/x;

    invoke-direct {v0, p0}, Lcom/xingbook/xingbook/activity/x;-><init>(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)V

    iput-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->z:Lcom/xingbook/xingbook/activity/x;

    return-void
.end method

.method private a(II)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->h:Lcom/xingbook/park/ui/p;

    invoke-virtual {v0}, Lcom/xingbook/park/ui/p;->c()V

    invoke-virtual {p0, p1}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->b(I)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->l:Lcom/xingbook/park/a/a;

    invoke-virtual {v0}, Lcom/xingbook/park/a/a;->g()Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->g:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->l:Lcom/xingbook/park/a/a;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-direct {p0, p2}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->g(I)V

    goto :goto_0

    :cond_2
    invoke-virtual {p0, p1}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->c(I)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->m:Lcom/xingbook/park/a/c;

    invoke-virtual {v0}, Lcom/xingbook/park/a/c;->a()Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->g:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->m:Lcom/xingbook/park/a/c;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    goto :goto_0

    :cond_3
    invoke-direct {p0, p2}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->f(I)V

    goto :goto_0

    :cond_4
    invoke-virtual {p0, p1}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->a(I)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->f:Lcom/xingbook/park/c/a/k;

    iget-object v1, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->o:Lcom/xingbook/park/b/a;

    invoke-virtual {v0, v1}, Lcom/xingbook/park/c/a/k;->setData(Lcom/xingbook/park/b/a;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->e:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->f:Lcom/xingbook/park/c/a/k;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->n:Lcom/xingbook/park/a/a;

    invoke-virtual {v0}, Lcom/xingbook/park/a/a;->g()Z

    move-result v0

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->g:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->n:Lcom/xingbook/park/a/a;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    goto :goto_0

    :cond_5
    invoke-direct {p0, p2}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->e(I)V

    goto :goto_0
.end method

.method static synthetic a(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->h()V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/xingbook/activity/XingBookMainActivity;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->g(I)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/xingbook/activity/XingBookMainActivity;II)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->a(II)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/xingbook/activity/XingBookMainActivity;Lcom/xingbook/park/b/a;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->o:Lcom/xingbook/park/b/a;

    return-void
.end method

.method static synthetic a(Lcom/xingbook/xingbook/activity/XingBookMainActivity;Ljava/lang/String;Z)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->a(Ljava/lang/String;Z)V

    return-void
.end method

.method private a(Ljava/lang/String;Z)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->x:Landroid/app/ProgressDialog;

    if-nez v0, :cond_0

    new-instance v0, Landroid/app/ProgressDialog;

    invoke-direct {v0, p0}, Landroid/app/ProgressDialog;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->x:Landroid/app/ProgressDialog;

    :cond_0
    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->x:Landroid/app/ProgressDialog;

    invoke-virtual {v0, p1}, Landroid/app/ProgressDialog;->setMessage(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->x:Landroid/app/ProgressDialog;

    invoke-virtual {v0, p2}, Landroid/app/ProgressDialog;->setIndeterminate(Z)V

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->x:Landroid/app/ProgressDialog;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setCancelable(Z)V

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->x:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->x:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->show()V

    :cond_1
    return-void
.end method

.method static synthetic b(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)Lcom/xingbook/park/b/a;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->o:Lcom/xingbook/park/b/a;

    return-object v0
.end method

.method static synthetic b(Lcom/xingbook/xingbook/activity/XingBookMainActivity;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->f(I)V

    return-void
.end method

.method static synthetic c(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)Lcom/xingbook/park/c/a/k;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->f:Lcom/xingbook/park/c/a/k;

    return-object v0
.end method

.method static synthetic c(Lcom/xingbook/xingbook/activity/XingBookMainActivity;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->e(I)V

    return-void
.end method

.method static synthetic d(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->s:Ljava/util/ArrayList;

    return-object v0
.end method

.method private d()V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->x:Landroid/app/ProgressDialog;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->x:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->x:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V

    :cond_0
    return-void
.end method

.method static synthetic e(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)Lcom/xingbook/park/a/a;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->n:Lcom/xingbook/park/a/a;

    return-object v0
.end method

.method private e(I)V
    .locals 3

    const/4 v2, 0x1

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->z:Lcom/xingbook/xingbook/activity/x;

    const/4 v1, 0x0

    invoke-virtual {v0, v2, v2, v1}, Lcom/xingbook/xingbook/activity/x;->obtainMessage(III)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/xingbook/activity/v;

    invoke-direct {v1, p0, p1}, Lcom/xingbook/xingbook/activity/v;-><init>(Lcom/xingbook/xingbook/activity/XingBookMainActivity;I)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    return-void
.end method

.method static synthetic f(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)Lcom/xingbook/xingbook/c/d;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->w:Lcom/xingbook/xingbook/c/d;

    return-object v0
.end method

.method private f()V
    .locals 4

    const/4 v3, 0x1

    invoke-virtual {p0}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->c()Z

    move-result v0

    if-eqz v0, :cond_0

    :goto_0
    return-void

    :cond_0
    invoke-virtual {p0, v3}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->a(Z)V

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->z:Lcom/xingbook/xingbook/activity/x;

    const/4 v1, 0x4

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v3, v2}, Lcom/xingbook/xingbook/activity/x;->obtainMessage(III)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/xingbook/activity/w;

    invoke-direct {v1, p0}, Lcom/xingbook/xingbook/activity/w;-><init>(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    goto :goto_0
.end method

.method private f(I)V
    .locals 3

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->z:Lcom/xingbook/xingbook/activity/x;

    const/4 v1, 0x1

    invoke-virtual {v0, v1, v2, v2}, Lcom/xingbook/xingbook/activity/x;->obtainMessage(III)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/xingbook/activity/m;

    invoke-direct {v1, p0, p1}, Lcom/xingbook/xingbook/activity/m;-><init>(Lcom/xingbook/xingbook/activity/XingBookMainActivity;I)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    return-void
.end method

.method private g()V
    .locals 4

    invoke-virtual {p0}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->c()Z

    move-result v0

    if-eqz v0, :cond_0

    :goto_0
    return-void

    :cond_0
    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->a(Z)V

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->z:Lcom/xingbook/xingbook/activity/x;

    const/4 v1, 0x4

    const/4 v2, 0x2

    const/4 v3, 0x0

    invoke-virtual {v0, v1, v2, v3}, Lcom/xingbook/xingbook/activity/x;->obtainMessage(III)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/xingbook/activity/o;

    invoke-direct {v1, p0}, Lcom/xingbook/xingbook/activity/o;-><init>(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    goto :goto_0
.end method

.method private g(I)V
    .locals 4

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->z:Lcom/xingbook/xingbook/activity/x;

    const/4 v1, 0x1

    const/4 v2, 0x2

    const/4 v3, 0x0

    invoke-virtual {v0, v1, v2, v3}, Lcom/xingbook/xingbook/activity/x;->obtainMessage(III)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/xingbook/activity/n;

    invoke-direct {v1, p0, p1}, Lcom/xingbook/xingbook/activity/n;-><init>(Lcom/xingbook/xingbook/activity/XingBookMainActivity;I)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    return-void
.end method

.method static synthetic g(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->d()V

    return-void
.end method

.method static synthetic h(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)Landroid/widget/ListView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->g:Landroid/widget/ListView;

    return-object v0
.end method

.method private h()V
    .locals 1

    const/4 v0, 0x5

    invoke-virtual {p0, v0}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->d(I)V

    return-void
.end method

.method static synthetic i(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)Lcom/xingbook/park/ui/p;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->h:Lcom/xingbook/park/ui/p;

    return-object v0
.end method

.method private i()V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->i:Lcom/xingbook/park/ui/f;

    invoke-virtual {v0}, Lcom/xingbook/park/ui/f;->getVisibility()I

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->i:Lcom/xingbook/park/ui/f;

    invoke-virtual {v0}, Lcom/xingbook/park/ui/f;->a()V

    :goto_0
    return-void

    :cond_0
    invoke-static {}, Lcom/xingbook/ting/play/j;->a()Lcom/xingbook/ting/play/j;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->i:Lcom/xingbook/park/ui/f;

    if-eqz v0, :cond_1

    iget-object v0, v0, Lcom/xingbook/ting/play/j;->g:Lcom/xingbook/ting/play/g;

    sget-object v2, Lcom/xingbook/ting/play/g;->d:Lcom/xingbook/ting/play/g;

    if-ne v0, v2, :cond_1

    const/4 v0, 0x1

    :goto_1
    invoke-virtual {v1, v0}, Lcom/xingbook/park/ui/f;->a(Z)V

    goto :goto_0

    :cond_1
    const/4 v0, 0x0

    goto :goto_1
.end method

.method static synthetic j(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->q:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic k(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)Lcom/xingbook/park/a/a;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->l:Lcom/xingbook/park/a/a;

    return-object v0
.end method

.method static synthetic l(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)Lcom/xingbook/park/a/c;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->m:Lcom/xingbook/park/a/c;

    return-object v0
.end method

.method static synthetic m(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->r:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic n(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)Lcom/xingbook/park/b/d;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->p:Lcom/xingbook/park/b/d;

    return-object v0
.end method

.method static synthetic o(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)Lcom/xingbook/park/b/d;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->t:Lcom/xingbook/park/b/d;

    return-object v0
.end method

.method static synthetic p(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->f()V

    return-void
.end method

.method static synthetic q(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->g()V

    return-void
.end method

.method static synthetic r(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)Lcom/xingbook/xingbook/activity/x;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->z:Lcom/xingbook/xingbook/activity/x;

    return-object v0
.end method


# virtual methods
.method public a()I
    .locals 1

    const/16 v0, 0x30

    return v0
.end method

.method public a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V
    .locals 1

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    invoke-virtual {v0, p1, p2, p3, p4}, Lcom/xingbook/service/download/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V

    return-void
.end method

.method public declared-synchronized a(Z)V
    .locals 1

    monitor-enter p0

    :try_start_0
    iput-boolean p1, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->y:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return-void

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public a(I)Z
    .locals 1

    const/4 v0, 0x1

    if-ne p1, v0, :cond_0

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public b()I
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method public b(I)Z
    .locals 1

    const/4 v0, 0x2

    if-ne p1, v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public declared-synchronized c()Z
    .locals 1

    monitor-enter p0

    :try_start_0
    iget-boolean v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->y:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return v0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public c(I)Z
    .locals 1

    if-nez p1, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public e()Ljava/lang/String;
    .locals 1

    const-string v0, "\u661f\u5b9d\u4e66-\u4e3b\u9875"

    return-object v0
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 9

    const v8, 0x7f0a0019

    const/4 v7, -0x2

    const/4 v6, 0x3

    const/4 v5, -0x1

    const/4 v3, 0x0

    invoke-virtual {p0}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    new-instance v1, Landroid/widget/RelativeLayout;

    invoke-direct {v1, v0}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->d:Landroid/widget/RelativeLayout;

    iget-object v1, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->d:Landroid/widget/RelativeLayout;

    invoke-virtual {v1, v5}, Landroid/widget/RelativeLayout;->setBackgroundColor(I)V

    invoke-static {p0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v1

    iget-object v2, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->d:Landroid/widget/RelativeLayout;

    iget-object v4, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->u:Lcom/xingbook/park/c/a/f;

    invoke-static {p0, v2, v1, v4}, Lcom/xingbook/park/c/a/d;->a(Landroid/app/Activity;Landroid/widget/RelativeLayout;FLcom/xingbook/park/c/a/f;)Lcom/xingbook/park/c/a/d;

    move-result-object v2

    iput-object v2, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->a:Lcom/xingbook/park/c/a/d;

    iget-object v2, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->a:Lcom/xingbook/park/c/a/d;

    invoke-virtual {v2, v8}, Lcom/xingbook/park/c/a/d;->setId(I)V

    new-instance v2, Landroid/widget/LinearLayout;

    invoke-direct {v2, v0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->e:Landroid/widget/LinearLayout;

    iget-object v2, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->e:Landroid/widget/LinearLayout;

    const v4, 0x7f0a0042

    invoke-virtual {v2, v4}, Landroid/widget/LinearLayout;->setId(I)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v2, v5, v7}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v2, v6, v8}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    iget-object v4, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v4, v2}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->d:Landroid/widget/RelativeLayout;

    iget-object v4, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v4}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/widget/ListView;

    invoke-direct {v2, v0}, Landroid/widget/ListView;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->g:Landroid/widget/ListView;

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->g:Landroid/widget/ListView;

    invoke-virtual {v0, v3}, Landroid/widget/ListView;->setDividerHeight(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->g:Landroid/widget/ListView;

    const v2, 0x7f070043

    invoke-virtual {v0, v2}, Landroid/widget/ListView;->setSelector(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->g:Landroid/widget/ListView;

    const v2, 0xffffff

    invoke-virtual {v0, v2}, Landroid/widget/ListView;->setCacheColorHint(I)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v0, v5, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const v2, 0x7f0a0042

    invoke-virtual {v0, v6, v2}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    iget-object v2, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->g:Landroid/widget/ListView;

    invoke-virtual {v2, v0}, Landroid/widget/ListView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->d:Landroid/widget/RelativeLayout;

    iget-object v4, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->g:Landroid/widget/ListView;

    invoke-virtual {v2, v4}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    iget-object v2, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->d:Landroid/widget/RelativeLayout;

    iget-object v4, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->v:Lcom/xingbook/park/ui/r;

    invoke-static {p0, v2, v1, v4}, Lcom/xingbook/park/ui/p;->a(Landroid/app/Activity;Landroid/widget/RelativeLayout;FLcom/xingbook/park/ui/r;)Lcom/xingbook/park/ui/p;

    move-result-object v1

    iput-object v1, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->h:Lcom/xingbook/park/ui/p;

    iget-object v1, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->h:Lcom/xingbook/park/ui/p;

    invoke-virtual {v1, v0}, Lcom/xingbook/park/ui/p;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v0, Lcom/xingbook/park/c/a/k;

    invoke-static {p0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v1

    invoke-direct {v0, p0, v1}, Lcom/xingbook/park/c/a/k;-><init>(Landroid/app/Activity;F)V

    iput-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->f:Lcom/xingbook/park/c/a/k;

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->f:Lcom/xingbook/park/c/a/k;

    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v1, v5, v7}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1}, Lcom/xingbook/park/c/a/k;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v0, Lcom/xingbook/park/b/d;

    invoke-direct {v0}, Lcom/xingbook/park/b/d;-><init>()V

    iput-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->p:Lcom/xingbook/park/b/d;

    invoke-virtual {p0}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->a()I

    move-result v0

    iget-object v1, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->p:Lcom/xingbook/park/b/d;

    invoke-virtual {v1, v0}, Lcom/xingbook/park/b/d;->b(I)V

    new-instance v0, Lcom/xingbook/park/b/d;

    invoke-direct {v0}, Lcom/xingbook/park/b/d;-><init>()V

    iput-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->t:Lcom/xingbook/park/b/d;

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->t:Lcom/xingbook/park/b/d;

    invoke-virtual {p0}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->a()I

    move-result v1

    invoke-static {v1}, Lcom/xingbook/c/t;->c(I)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/b/d;->b(I)V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->q:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->r:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->s:Ljava/util/ArrayList;

    new-instance v0, Lcom/xingbook/xingbook/activity/t;

    invoke-direct {v0, p0}, Lcom/xingbook/xingbook/activity/t;-><init>(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)V

    new-instance v1, Lcom/xingbook/xingbook/a/d;

    invoke-direct {v1, p0, v0}, Lcom/xingbook/xingbook/a/d;-><init>(Landroid/app/Activity;Lcom/xingbook/park/c/a/p;)V

    iput-object v1, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->l:Lcom/xingbook/park/a/a;

    new-instance v1, Lcom/xingbook/xingbook/a/c;

    iget-object v2, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->b:Lcom/xingbook/park/c/a/x;

    invoke-direct {v1, p0, v2}, Lcom/xingbook/xingbook/a/c;-><init>(Landroid/app/Activity;Lcom/xingbook/park/c/a/x;)V

    iput-object v1, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->m:Lcom/xingbook/park/a/c;

    new-instance v1, Lcom/xingbook/xingbook/a/b;

    iget-object v2, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->c:Lcom/xingbook/xingbook/d/l;

    invoke-direct {v1, p0, v2, v0}, Lcom/xingbook/xingbook/a/b;-><init>(Landroid/app/Activity;Lcom/xingbook/xingbook/d/l;Lcom/xingbook/park/c/a/p;)V

    iput-object v1, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->n:Lcom/xingbook/park/a/a;

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->d:Landroid/widget/RelativeLayout;

    invoke-virtual {p0, v0}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->setContentView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->g:Landroid/widget/ListView;

    new-instance v1, Lcom/xingbook/xingbook/activity/u;

    invoke-direct {v1, p0}, Lcom/xingbook/xingbook/activity/u;-><init>(Lcom/xingbook/xingbook/activity/XingBookMainActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnScrollListener(Landroid/widget/AbsListView$OnScrollListener;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->d:Landroid/widget/RelativeLayout;

    invoke-static {p0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v1

    invoke-static {p0}, Lcom/xingbook/c/c;->a(Landroid/app/Activity;)Lcom/xingbook/park/ui/g;

    move-result-object v2

    invoke-static {v0, p0, v1, v2}, Lcom/xingbook/park/ui/f;->a(Landroid/widget/RelativeLayout;Landroid/content/Context;FLcom/xingbook/park/ui/g;)Lcom/xingbook/park/ui/f;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->i:Lcom/xingbook/park/ui/f;

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->i:Lcom/xingbook/park/ui/f;

    invoke-virtual {v0}, Lcom/xingbook/park/ui/f;->a()V

    invoke-super {p0, p1}, Lcom/xingbook/park/activity/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->m:Lcom/xingbook/park/a/c;

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->a(Lcom/xingbook/service/download/m;)V

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->n:Lcom/xingbook/park/a/a;

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->a(Lcom/xingbook/service/download/m;)V

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->l:Lcom/xingbook/park/a/a;

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->a(Lcom/xingbook/service/download/m;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->a:Lcom/xingbook/park/c/a/d;

    const-string v1, "\u661f\u5b9d\u4e66"

    new-array v2, v6, [Ljava/lang/String;

    const-string v4, "\u7cbe\u9009"

    aput-object v4, v2, v3

    const/4 v4, 0x1

    const-string v5, "\u5168\u90e8"

    aput-object v5, v2, v4

    const/4 v4, 0x2

    const-string v5, "\u4e13\u8f91"

    aput-object v5, v2, v4

    invoke-virtual {v0, v1, v3, v2}, Lcom/xingbook/park/c/a/d;->a(Ljava/lang/String;I[Ljava/lang/String;)V

    invoke-virtual {p0}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->d:Landroid/widget/RelativeLayout;

    invoke-static {p0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v2

    move v4, v3

    move v5, v3

    move v6, v3

    invoke-static/range {v0 .. v6}, Lcom/xingbook/park/ui/a;->a(Landroid/content/Context;Landroid/widget/RelativeLayout;FIIII)Lcom/xingbook/park/ui/a;

    return-void
.end method

.method protected onDestroy()V
    .locals 2

    invoke-direct {p0}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->d()V

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->m:Lcom/xingbook/park/a/c;

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->b(Lcom/xingbook/service/download/m;)V

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->n:Lcom/xingbook/park/a/a;

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->b(Lcom/xingbook/service/download/m;)V

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->l:Lcom/xingbook/park/a/a;

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->b(Lcom/xingbook/service/download/m;)V

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onDestroy()V

    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 1

    const/4 v0, 0x4

    if-ne p1, v0, :cond_1

    invoke-static {}, Lcom/xingbook/c/c;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-direct {p0}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->i()V

    :goto_0
    const/4 v0, 0x1

    :goto_1
    return v0

    :cond_0
    invoke-direct {p0}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->h()V

    goto :goto_0

    :cond_1
    invoke-super {p0, p1, p2}, Lcom/xingbook/park/activity/BaseActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    goto :goto_1
.end method

.method public onPause()V
    .locals 1

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onPause()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onPause(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->b(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->a(Landroid/content/Context;)V

    return-void
.end method

.method public onResume()V
    .locals 1

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onResume()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onResume(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->a(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->b(Landroid/content/Context;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->a:Lcom/xingbook/park/c/a/d;

    invoke-virtual {v0}, Lcom/xingbook/park/c/a/d;->getSelectedIndex()I

    move-result v0

    invoke-virtual {p0, v0}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->a(I)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->f:Lcom/xingbook/park/c/a/k;

    invoke-virtual {v0}, Lcom/xingbook/park/c/a/k;->a()Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->e(I)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->h:Lcom/xingbook/park/ui/p;

    invoke-virtual {v0}, Lcom/xingbook/park/ui/p;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/activity/XingBookMainActivity;->v:Lcom/xingbook/park/ui/r;

    invoke-interface {v0}, Lcom/xingbook/park/ui/r;->a()V

    goto :goto_0
.end method
